#include "resizedialog.h"
#include "ui_resizedialog.h"
#include<QSlider>
#include<QLabel>
#include<QSpinBox>
#include<QDebug>
#include<QDialog>


ResizeDialog::ResizeDialog(QWidget *parent) :
    QDialog(parent),
    ui(new Ui::ResizeDialog)
{
    ui->setupUi(this);
}

ResizeDialog::~ResizeDialog()
{
    delete ui;
}

int ResizeDialog::GetHeight(){
    return ui->hbox->value();
}

int ResizeDialog::GetWidth(){
    return ui->wbox->value();
}

void ResizeDialog::SetHW(int h,int w){
    ui->hbox->setValue(h);
    ui->wbox->setValue(w);
}
